@import '../def.scss';

.content {
	
}
.nav{
	width: 100%;
	background: #fff;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 99;
	.warp {
		width: 100%;
		height: 88rpx;
		display: flex;
		// justify-content: center;
		align-items: center;
		position: relative;
		justify-content: space-between;
		.left{
			display: flex;
			align-items: center;
			.back {
				font-size: 14px;
				line-height: 1;
				.back_img{
					width: 48upx;
					height: 48upx;
					padding: 10upx 0upx 10upx 24upx;
					
				}
			}
			.tab{
				position: absolute;
				left: 50%;
				transform: translateX(-50%);
				display: flex;
				.tab-item{
					position: relative;
					margin: 0 15rpx;
					font-size: 28rpx;
					font-weight: normal;
					line-height: 32rpx;
					text-align: center;
					color: #666666;
					padding-bottom: 12rpx;
				}
				.active{
					color: #000000;
					&::after{
					position: absolute;
					  content: '';
					  bottom: 0px;
					  width: 100%;
					  left: 0;
					  height: 4rpx;
					  background: #EC6A0A;
					}
				}
			}
		}
	}
	
}
.search{
	background: #F4F4F5;
	border-radius: 44rpx;
	position: relative;
	width: 686rpx;
	height: 72rpx;
	margin: 30rpx auto;
	.search-icon{
		position: absolute;
		top: 50%;
		left: 30rpx;
		transform: translateY(-50%);
		width: 42rpx;
		height: 42rpx;
	}
	input{
		width: 100%;
		height: 100%;
		line-height: 72rpx;
		font-size: 28rpx;
		padding: 0 80rpx;
		box-sizing: border-box;
	}
}
.buy{
	padding: 0 20rpx;
	padding: 15rpx 20rpx;
	box-sizing: border-box;
	width: 100%;
	height: 192rpx;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	margin-bottom: 24rpx;
	.buy-left{
		display: flex;
		.buy-pic{
			width: 160rpx;
			height: 160rpx;
		}
		.pri-wrap{
			margin-left: 16rpx;
			display: flex;
			flex-direction: column;
			justify-content: center;
			.pri-title{
				// margin-left: 16rpx;
				margin-bottom: 16rpx;
				font-size: 28rpx;
				font-weight: normal;
				line-height: 32rpx;
				color: #000000;
				@extend .nowrap2;
				width: 360rpx;

			}
			.price{
				font-size: 42rpx;
				font-weight: normal;
				line-height: normal;
				color: #EC6A0A;
				.price-icon{
					font-weight: 400;
					font-size: 28rpx;
				}
			}
			.attr{
				margin-left: 5rpx;
				font-size: 28rpx;
				font-weight: normal;
				line-height: 32rpx;
				text-align: center;
				color: #666666;
			}
		}
	}
	.buy-want{
		width: 178rpx;
		height: 70rpx;
		border-radius: 100rpx;
		background: linear-gradient(180deg, #EC6A0A 0%, #FB8E26 100%);
		font-size: 28rpx;
		font-weight: normal;
		line-height: 70rpx;
		text-align: center;
		color: #FFFFFF;
	}
}
.more{
	width: 100%;
	text-align: center;
	font-size: 28rpx;
	font-weight: normal;
	line-height: 32rpx;
	text-align: center;
	color: #666666;
}